package com.chatgpt.platformbasedchatgpt.service;

import com.chatgpt.platformbasedchatgpt.dao.Question;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Chat
 * @since 2023-12-21
 */
public interface QuestionService{
    Question getQuestion(int id);

    List<Question> getQuestionList(int userId);

    int insertQuestion(Question question);

    int updateQuestion(Question question);

    int deleteQuestion(int id);

    List<Question> queryQuestion(Question question);
}
